/* 推荐添加的CSS */
.tree-node {
    position: relative;
    user-select: none;
  }
  
  .node-content {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    transition: background 0.2s;
  }
  
  .node-content:hover {
    background: rgba(255,255,255,0.05);
  }
  
  .context-menu { 
    background: #fcfcfc;
    border: 1px solid #454545;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: #d4d4d4;
    padding: 6px 0;
    min-width: 160px;
  }
  
  .context-menu div {
    padding: 6px 16px;
    cursor: pointer;
    transition: background 0.2s;
  }
  
  .context-menu div:hover {
    background: #3c3c3c;
  }
  
  input {
    background: #f1efef;
    border: 1px solid #555;
    color: #ddd;
    padding: 4px 8px;
    border-radius: 3px;
    margin-left: 8px;
  }
  
  /* ******************** */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .new-item {
    animation: fadeIn 0.2s ease-out;
  }
  
  .tree-node {
    position: relative;
  }
  
  .node-content {
    padding: 4px 8px;
    transition: background 0.2s;
  }
  
  .node-content:hover {
    background: rgba(255,255,255,0.05);
  }